import { request } from "../utils/request.js"

export function getCategories()
{
	return request({
		url:'categories',
		method:'get'
	});
}


const categories = [
        {
            "id":20,
            "title":"早安",
            "weight":35
        },
        {
            "id":21,
            "title":"晚安",
            "weight":34
        },
        {
            "id":7,
            "title":"端午节",
            "weight":32
        },
        {
            "id":9,
            "title":"七夕",
            "weight":31
        },
        {
            "id":15,
            "title":"生日祝福",
            "weight":23
        },
        {
            "id":1,
            "title":"元旦",
            "weight":1
        },
        {
            "id":2,
            "title":"春节",
            "weight":1
        },
        {
            "id":3,
            "title":"元宵节",
            "weight":1
        },
        {
            "id":4,
            "title":"情人节",
            "weight":1
        },
        {
            "id":5,
            "title":"妇女节",
            "weight":1
        },
        {
            "id":6,
            "title":"愚人节",
            "weight":1
        },
        {
            "id":8,
            "title":"儿童节",
            "weight":1
        },
        {
            "id":10,
            "title":"中秋节",
            "weight":1
        },
        {
            "id":11,
            "title":"教师节",
            "weight":1
        },
        {
            "id":12,
            "title":"光棍节",
            "weight":1
        },
        {
            "id":13,
            "title":"感恩节",
            "weight":1
        },
        {
            "id":14,
            "title":"圣诞节",
            "weight":1
        },
        {
            "id":16,
            "title":"清明节",
            "weight":1
        },
        {
            "id":17,
            "title":"劳动节",
            "weight":1
        },
        {
            "id":18,
            "title":"青年节",
            "weight":1
        },
        {
            "id":19,
            "title":"母亲节",
            "weight":1
        }
    ]